package cn.iocoder.yudao.module.mqtt.controller.admin.devicealermrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 报警记录分页 Request VO")
@Data
public class DeviceAlermRecordPageReqVO extends PageParam {

    @Schema(description = "订阅客户端ID", example = "11174")
    private Long subscribeWaterId;

    @Schema(description = "设备KEY")
    private String deviceKey;

    @Schema(description = "报警类型", example = "2")
    private String alarmType;

    @Schema(description = "数据类型", example = "1")
    private String dataType;

    @Schema(description = "报警的值")
    private String exceedValue;

    @Schema(description = "报警信息")
    private String alarmInfo;


    @Schema(description = "报文")
    private String mqttInfo;

    @Schema(description = "微信通知： 0 关闭不通知 1等待通知，2 已经通知")
    private String isWeixin;

    @Schema(description = "短信通知： 0 关闭不通知 1等待通知    2已通知")
    private String isQms;

    @Schema(description = "0 离线 1 在线 ")
    private String isOnline;

    @Schema(description = "描述", example = "随便")
    private String description;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}